package com.cdcas.runtime;

public class RunTimeDemo {

    public static void main(String[] args) {
        Runtime runtime = Runtime.getRuntime();
        System.out.println("MaxMemory:" + runtime.maxMemory());
        System.out.println("totalMemory:" + runtime.totalMemory());
        System.out.println("freeMemory:" + runtime.freeMemory());
    }
}
